package June;
import  java.util.Scanner;
public class Test_3_2 {
    public static void main(String[] args) {
        // 实现判断一个整数，
        // 属于哪个范围:大于0;小于0;等于0

        Scanner myScanner = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        double input = myScanner.nextDouble();
        if (input > 0) {
            System.out.println("大于0");
        } else if (input == 0) {
            System.out.println("等于0");
        } else {
            System.out.println("小于0");
        }
    }
}
